<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
.selectWidth3{
   width:132px;
}
</style>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<table class="t_css" width="100%" border="0" cellpadding="0" id="attentInfo1"cellspacing="1">	
							<tr><td colspan="6" class="t_bar">&nbsp;参与单位1</td></tr>
							<tr>
								<td  align="right" width="120px"><span class="color_red" style="display:none">*</span>单位名称：</td>
								<td colspan="5">
								<input type="hidden" name="organizations/organization[1]@sequence_no" value="2" >
								<input type="text" label="参与单位1单位名称" class="input_css maxlength:50  needchk" maxlength="50"  
										name="organizations/organization[1]/cname"  style="width:680px;"
										value="<x:out select="$xmlData/data/organizations/organization[@sequence_no='2']/cname"/>">
								</td>
						
							</tr>
							<tr>
								<td align="right"><span class="color_red" style="display:none">*</span>单位地址：</td>
								<td colspan="5">
								<input type="text" label="参与单位1单位地址"  class="input_css maxlength:50 needchk" maxlength="300" 
											 name="organizations/organization[1]/address"  style="width:680px;"
										value="<x:out select="$xmlData/data/organizations/organization[@sequence_no='2']/address"/>">
								</td>
							</tr>
							<tr>
								<td align="right" ><span class="color_red" style="display:none">*</span>组织机构代码：</td>
								<td align="left" >
								<input type="text" label="参与单位1组织机构代码"  class="input_css maxlength:20 needchk" maxlength="20"
									name="organizations/organization[1]/org_no"  " 
									value="<x:out select="$xmlData/data/organizations/organization[@sequence_no='2']/org_no"/>">
								</td>
								
								<td align="right" ><span class="color_red" style="display:none">*</span>单位性质：</td>
								<td align="left" >
									<c:set var="nature_type"><x:out select="$xmlData/data/organizations/organization[@sequence_no=2]/nature_type_value"/></c:set>
									<cpt:select id="nature_type1" name="nature_type"  className="selectWidth3 needchk"
											key="unit_nature" value="${nature_type }"   label="参与单位1单位性质"  cacheable="false">
									</cpt:select>
									<input type="hidden"   name="organizations/organization[1]/nature_type_value" 
											value="<x:out select="$xmlData/data/organizations/organization[@sequence_no=2]/nature_type_value"/>">
									<input type="hidden"   name="organizations/organization[1]/nature_type_name" 
											value="<x:out select="$xmlData/data/organizations/organization[@sequence_no=2]/nature_type_name"/>" >
									</td>
								<td  align="right" width="80px"><span class="color_red" style="display:none">*</span>参与方式：</td>
								<td >
									<c:set var="attend_type_value"><x:out select="$xmlData/data/organizations/organization[@sequence_no=2]/attend_type_value" /></c:set>
									<cpt:select id="attend_type1" name="attend_type"
									      key="attend_type" value="${attend_type_value }"
									       className="selectWidth3 needchk"
                                          label="参与单位1参与方式"  cacheable="false">
									</cpt:select>
									<input type="hidden" name="organizations/organization[1]/attend_type_value"
											value="<x:out select="$xmlData/data/organizations/organization[@sequence_no=2]/attend_type_value" />" />
									<input type="hidden" name="organizations/organization[1]/attend_type_name" 
											 value="<x:out select="$xmlData/data/organizations/organization[@sequence_no=2]/attend_type_name" />" />
								</td>
							</tr>
							<tr>
								<td align="right"><span class="color_red" style="display:none">*</span>联系人：</td>
								<td  width="100px">
								<input type="text" label="参与单位1联系人" class="input_css maxlength:50 needchk" maxlength="20"   
										name="organizations/organization[1]/contact_name" 
										value="<x:out select="$xmlData/data/organizations/organization[@sequence_no='2']/contact_name"/>">
								</td>
								<td align="right"><span class="color_red" style="display:none">*</span>电话：</td>
								<td style="width:150px" >
								<input  label="参与单位1电话" type="text" maxlength="20"   class="telInput needchk"
										name="organizations/organization[1]/contact_tel" 
										value="<x:out select="$xmlData/data/organizations/organization[@sequence_no='2']/contact_tel"/>">
								</td>
								<td align="right" ><span class="color_red" style="display:none">*</span>联系手机：</td>
								<td align="left" >
								<input type="text" label="参与单位1联系手机" class="input_css needchk" maxlength="11"  size="21"
										   name="organizations/organization[1]/contact_mobile" 
										value="<x:out select="$xmlData/data/organizations/organization[@sequence_no='2']/contact_mobile"/>">
								</td>
							</tr>
		</table>
		<table class="t_css" width="100%" border="0" cellpadding="0" id="attentInfo2"cellspacing="1">
							<tr><td colspan="6" class='t_bar'>&nbsp;参与单位2</td></tr>
							<tr>
								<td  align="right" width="120px"><span class="color_red" style="display:none">*</span>单位名称：</td>
								<td colspan="5">
								<input type="hidden" name="organizations/organization[2]@sequence_no" value="3" >
								<input type="text"  label="参与单位2单位名称"    class="input_css maxlength:50 needchk" maxlength="50"  
										name="organizations/organization[2]/cname"  style="width:680px;" 
										value="<x:out select="$xmlData/data/organizations/organization[@sequence_no='3']/cname"/>">
								</td>
						
							</tr>
							<tr>
								<td align="right"><span class="color_red" style="display:none">*</span>单位地址：</td>
								<td colspan="5">
								<input type="text" label="参与单位2单位地址" class="input_css maxlength:50 needchk" maxlength="300"  
									name="organizations/organization[2]/address" style="width:680px;" 
									value="<x:out select="$xmlData/data/organizations/organization[@sequence_no='3']/address"/>">
								</td>
							</tr>
							<tr>
								<td align="right" ><span class="color_red" style="display:none">*</span>组织机构代码：</td>
								<td align="left" >
								<input type="text" label="参与单位2组织机构代码"  class="input_css maxlength:20  needchk"  maxlength="20"
										 name="organizations/organization[2]/org_no"  
										 value="<x:out select="$xmlData/data/organizations/organization[@sequence_no='3']/org_no"/>">
								</td>
								
								<td align="right"><span class="color_red" style="display:none">*</span>单位性质：</td>
								<td align="left" >
									<c:set var="nature_type"><x:out select="$xmlData/data/organizations/organization[@sequence_no=3]/nature_type_value"/></c:set>
									<cpt:select id="nature_type2" name="nature_type" key="unit_nature" value="${nature_type}" className="selectWidth3 needchk"
									    onChange="initControlValue(this.id)"  
									    label="参与单位2单位性质"  cacheable="false">
									</cpt:select>
									<input type="hidden"   name="organizations/organization[2]/nature_type_value" 
											value="<x:out select="$xmlData/data/organizations/organization[@sequence_no=3]/nature_type_value"/>">
									<input type="hidden"   name="organizations/organization[2]/nature_type_name" 
											value="<x:out select="$xmlData/data/organizations/organization[@sequence_no=3]/nature_type_name"/>">
									</td>
										<td  align="right" width="80px"><span class="color_red" style="display:none">*</span>参与方式：</td>
								<td >
									<c:set var="attend_type_value"><x:out select="$xmlData/data/organizations/organization[@sequence_no=3]/attend_type_value" /></c:set>
									<cpt:select id="attend_type2" name="attend_type" key="attend_type" className="selectWidth3 needchk"
									       value="${attend_type_value}"
                                           label="参与单位2参与方式"  cacheable="false">
									</cpt:select>
									<input type="hidden" label="参与单位2参与方式"   name="organizations/organization[2]/attend_type_value" 
											value="<x:out select="$xmlData/data/organizations/organization[@sequence_no=3]/attend_type_value" />" />
									<input type="hidden" name="organizations/organization[2]/attend_type_name" id="attend_type_name" label="参与单位2参与方式"  
										   value="<x:out select="$xmlData/data/organizations/organization[@sequence_no=3]/attend_type_name" />" />
									</td>
							</tr>
							<tr>
								<td align="right"><span class="color_red" style="display:none">*</span>联系人：</td>
								<td  width="100px">
								<input type="text" label="参与单位2联系人"  class="input_css maxlength:50 needchk" maxlength="20"   
										name="organizations/organization[2]/contact_name" 
										value="<x:out select="$xmlData/data/organizations/organization[@sequence_no='3']/contact_name"/>">
								</td>
								<td align="right"><span class="color_red" style="display:none">*</span>电话：</td>
								<td style="width:150px" >
								<input  label="参与单位2电话"  type="text" maxlength="20"  
										name="organizations/organization[2]/contact_tel" class="telInput maxlength:50 needchk"
										value="<x:out select="$xmlData/data/organizations/organization[@sequence_no='3']/contact_tel"/>">
								</td>
								<td align="right" ><span class="color_red" style="display:none">*</span>联系手机：</td>
								<td align="left" >
								<input type="text"  label="参与单位2联系手机" class="input_css  needchk" maxlength="11"  size="21"
										 
										name="organizations/organization[2]/contact_mobile" 
										value="<x:out select="$xmlData/data/organizations/organization[@sequence_no='3']/contact_mobile"/>">
								</td>
							</tr>
							</table>
		<table class="t_css" width="100%" border="0" cellpadding="0" id="attentInfo3"cellspacing="1">
							<tr>
							<td  colspan="6" class='t_bar'>其它参与单位（多个单位名称用分号隔开填写）</td>
							</tr>
							<tr>
							<td  align="right" width="120px">其他单位：</td>
								<td colspan="5">
							<input type="hidden" maxlength="300" name="organizations/organization[3]@sequence_no" value="4" >
							<input type="text" label="其它参与单位名称" class="input_css maxlength:100" name="organizations/organization[3]/cname" size="50" maxlength="100" style="width:680px;"
							value="<x:out select="$xmlData/data/organizations/organization[@sequence_no='4']/cname"/>">
							</td>
						</tr>
					</table>

<script type="text/javascript">
$(function(){
	$("#attentInfo1 tr:even").addClass("li_1");
    $("#attentInfo1 tr:odd").addClass("li_2");
    $("#attentInfo2 tr:even").addClass("li_1");
    $("#attentInfo2 tr:odd").addClass("li_2");
    $("#attentInfo3 tr:even").addClass("li_1");
    $("#attentInfo3 tr:odd").addClass("li_2");
    changeClassDyn();
});
</script>